

#ifndef _SHELL_REQYDLOGIN_MESSAGE_H_
#define _SHELL_REQYDLOGIN_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqYDLoginMessage : public Message
{
	public:
	ReqYDLoginMessage();
	~ReqYDLoginMessage();
	void reset();
	ReqYDLoginMessage* clone();
	static const int _ID;
	//用户编号
	int32 userid;
	//用户登录令牌
	std::string usertoken;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
